package model

import (
	"time"
)

type AuDealerIssue struct {
	IssueId      int       `xorm:"not null pk autoincr INT(11)"`
	OrderId      int       `xorm:"not null index INT(11)"`
	DealerId     int       `xorm:"not null INT(11)"`
	EmpId        int       `xorm:"not null index INT(11)"`
	ManId        int       `xorm:"INT(10)"`
	DeductType   int       `xorm:"not null default 0 TINYINT(1)"`
	IssueType    int       `xorm:"not null TINYINT(1)"`
	Status       int       `xorm:"not null TINYINT(1)"`
	TransferType int       `xorm:"not null TINYINT(1)"`
	CutDownPrice float64   `xorm:"not null DOUBLE(10,2)"`
	Remark       string    `xorm:"TEXT"`
	Createtime   time.Time `xorm:"not null DATETIME"`
	Updatetime   time.Time `xorm:"not null DATETIME"`
}
